<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo CHtml::encode($this->pageTitle);?></title>
<meta http-equiv="Content-Language" content="<?php echo Yii::app()->language?>" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/style.css" media="screen" />
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/menu.css" />
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/form.css" />
<?php Yii::app()->clientScript->registerCssFile(Yii::app()->theme->baseUrl."/css/widget-user-dashboard.css");?>
<?php Yii::app()->clientScript->registerCoreScript('jquery'); ?>
<?php Yii::app()->clientScript->registerCoreScript('jquery.ui'); ?>
<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->theme->baseUrl.'/js/menu-collapsed.js');?>
<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->theme->baseUrl.'/js/user-dashboard.js');?>
</head>
<body>
<div id="wraper">
<!-- Wraper Start -->
  <div id="header">
	<!-- Header Start -->
    <h1><?php echo SCHOOL_NAME?></h1>
    <h2><?php echo CHtml::encode(Yii::app()->name)?></h2>
  </div>
  <!-- Header Ends -->
  <?php
  	if(!Yii::app()->user->isGuest){
		$this->widget('UserMenu');
  	}
  	?>
  <div id="main_body">
  <?php if(isset($this->breadcrumbs)):?>
		<?php $this->widget('zii.widgets.CBreadcrumbs', array(
			'links'=>$this->breadcrumbs,
		)); ?><!-- breadcrumbs -->
	<?php endif?>
  
  <!-- main Start -->
    <?php echo $content; ?> 
   </div>
   <!-- Main Ends -->
  <div style="clear: both;"> </div>
  <div id="footer"><!-- Footer Start --> Powered By <a href="http://www.ousite.com/" target="_blank">Our Site</a> </div><!-- Footer Ends -->
</div><!-- Wraper Ends -->
</body>
</html>